﻿<div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 30px 0 0;">
 
    <script type='text/html' template lay-done='layui.data.formdone(d.params);'> 
        <input type='hidden' name='PID' value="{{ d.params.PID || '' }}"/>
    </script>   
    <div class='layui-form-item'>
        <label class='layui-form-label'>交易单号</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='Code' value='{{ d.params.Code || '' }}' lay-verify='required' placeholder='交易单号' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <div class='layui-form-item'>
        <label class='layui-form-label'>商户平台流水号</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='FlowNumber' value='{{ d.params.FlowNumber || '' }}' lay-verify='required' placeholder='支付平台流水号' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <!--<div class='layui-form-item'>
        <label class='layui-form-label'>账单类型 账单类型[0.订单支付|1.订单退款|2.其他]</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='Type' value='{{ d.params.Type || '' }}' lay-verify='required|number' placeholder='账单类型 账单类型[0.订单支付|1.订单退款|2.其他]' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>-->   
    <div class='layui-form-item'>
        <label class='layui-form-label'>账单类型</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='TypeNote' value='{{ d.params.TypeNote || '' }}' lay-verify='required' placeholder='账单类型' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <div class='layui-form-item'>
        <label class='layui-form-label'>交易金额</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='Money' value='{{ d.params.Money || '' }}' lay-verify='required' placeholder='交易金额' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <div class='layui-form-item'>
        <label class='layui-form-label'>支付方式</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='Mode' value='{{ d.params.Mode || '' }}' lay-verify='required' placeholder='支付方式' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <!--<div class='layui-form-item'>
        <label class='layui-form-label'>订单号集合</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='OrderNumbers' value='{{ d.params.OrderNumbers || '' }}' lay-verify='required' placeholder='订单号集合' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>-->   
    <div class='layui-form-item'>
        <label class='layui-form-label'>用户姓名</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='UserName' value='{{ d.params.UserName || '' }}' lay-verify='required' placeholder='用户姓名' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <!--<div class='layui-form-item'>
        <label class='layui-form-label'>支付平台账号</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='Account' value='{{ d.params.Account || '' }}' lay-verify='required' placeholder='支付平台账号' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>-->   
    <!--<div class='layui-form-item'>
        <label class='layui-form-label'>账单状态</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' id="State" name='State' value='{{ d.params.State || '' }}' lay-verify='required|number' placeholder='' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>-->   
    <div class='layui-form-item'>
        <label class='layui-form-label'>商户号</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='Other1' value='{{ d.params.Other1 || '' }}' lay-verify='required' placeholder='商户号' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <div class='layui-form-item'>
        <label class='layui-form-label'>店铺</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='StoreName' value='{{ d.params.StoreName || '' }}' lay-verify='required' placeholder='店铺' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <div class='layui-form-item'>
        <label class='layui-form-label'>交易成功时间</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='SuccessTime' readonly='readonly' id='SuccessTime' value='{{ d.params.SuccessTime || '' }}' lay-verify='datetime' placeholder='yyyy-MM-dd HH:mm:ss' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>
    <div class='layui-form-item'>
        <label class='layui-form-label'>创建时间</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='CreateTime' readonly='readonly' id='CreateTime' value='{{ d.params.CreateTime || '' }}' lay-verify='datetime' placeholder='yyyy-MM-dd HH:mm:ss' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>
    <div class='layui-form-item'>
        <label class='layui-form-label'>最后更新时间</label>
        <div class='layui-input-block'>
            <script type='text/html' template>
                <input type='text' readonly='readonly' name='UpdateTime' readonly='readonly' id='UpdateTime' value='{{ d.params.UpdateTime || '' }}' lay-verify='datetime' placeholder='yyyy-MM-dd HH:mm:ss' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>
     
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-block">
            <input type="button"  onclick="Close()" value="关闭" class="layui-btn">
        </div>
    </div>
</div>

<script type="text/javascript">  
    function Close(){
        layer.closeAll();
    }

    layui.use(['form','admin','upload','laydate'], function () {
        var form = layui.form;//required（必填项）phone（手机号）email（邮箱）url（网址）number（数字）date（日期）identity（身份证） 自定义值
    });
    

    layui.data.formdone = function (d) {
        var $ = layui.$;
        var form = layui.form;
        var admin = layui.admin;

        

    }
    
    layui.data.getSelSource = function (d,sourceName) { 
            var $ = layui.$;
            var form = layui.form;
            var admin = layui.admin;
 
    }
 
    
    layui.data.setUpload = function (d) { 
            var $ = layui.$,
            upload = layui.upload,
            admin = layui.admin;
            var formSelects = layui.formSelects;
 
    }

    
    layui.data.datedone = function (d) { 
            var laydate = layui.laydate;

            //日期时间选择器
            laydate.render({
                elem: '#SuccessTime'
              , type: 'datetime'
              , calendar: true
            });
            laydate.val = d.SuccessTime;
 
    }
    
</script>
